/**
 * 安卓白金英雄坛制作组 <br>
 * 文件名：XueHuaLiuChu.java <br>
 * 创建时间：2013-8-23 下午7:52:46 <br>
 * 所属项目：GmudEX <br>
 * @author 12548 <br>
 */
package lostland.gmud.exv2.battle.proc.stunt;

import lostland.gmud.exv2.battle.BattleScreen;
import lostland.gmud.exv2.battle.proc.Status;
import lostland.gmud.exv2.data.Npc;

/**
 * 类名：XueHuaLiuChu <br>
 * 说明：38.雪影擒拿手·8.雪花六出
 *
 * @author 12548
 */
public class ZhuanZiJue extends Status {

	/**
	 * @param zdp
	 * @param bdp
	 */
	public ZhuanZiJue(Npc zdp, Npc bdp) {
		super(zdp, bdp);
	}


	int round = -1;

	int chu;


	/*
	 * （非 Javadoc）
	 *
	 * @see lostland.gmud.exv2.battle.proc.Status#execute()
	 */
	@Override
	public void execute() {
		round++;
		if (round == 0) {

			chu = 3;
			String p = "【转字诀" + (round + 1) + "/" + chu + "】";
			BattleScreen.getInstance().atkprocess(zdp, bdp, null, this, p);

		} else if (round < chu) {

			String p = "【转字诀" + (round + 1) + "/" + chu + "】";
			BattleScreen.getInstance().atkprocess(zdp, bdp, null, this, p);

		}

	}

}
